import request from '@/utils/request'

export function error(params) {
  return request({
    url: '/iot/data/error',
    method: 'get',
    params
  })
}

export function updateError(params) {
  return request({
    url: '/iot/data/update_error',
    method: 'put',
    params
  })
}
